<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>OpenLayers v8.2.0 API - Class: Circle</title>
    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
        crossorigin="anonymous"></script>
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css"
        crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css"
        href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
    <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
    <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
    <link rel="stylesheet" type="text/css" href="styles/carbon.css">
    <link rel="stylesheet" type="text/css" href="/theme/ol.css">
    <link rel="stylesheet" type="text/css" href="/theme/site.css">
</head>

<body>
    <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
        <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70"
                alt="">&nbsp;OpenLayers</a>
        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu"
            aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <!-- menu items that get hidden below 768px width -->
        <nav class="collapse navbar-collapse" id="olmenu">
            <ul class="nav navbar-nav ms-auto">
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="docdropdown">
                        <a class="dropdown-item" href="/doc/">Docs</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="/doc/quickstart.html"><i
                                class="fa fa-check fa-fw me-2 fa-lg"></i>快速入门</a>
                        <a class="dropdown-item" href="/doc/faq.html"><i
                                class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
                        <a class="dropdown-item" href="/doc/tutorials/"><i
                                class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
                        <div class="dropdown-divider"></div>
                        <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i
                                class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
                    </div>
                </li>
                <li class="nav-item"><a class="nav-link" href="/en/latest/examples/">Examples</a></li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="apidropdown" role="button"
                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-sitemap me-1"></i>API
                    </a>
                    <div class="dropdown-menu dropdown-menu-end mb-3" aria-labelledby="apidropdown">
                        <a class="dropdown-item" href="/en/latest/apidoc/"><i
                                class="fa fa-sitemap fa-fw me-2 fa-lg"></i>v8.2.0
                            (latest)</a </div>
                </li>
            </ul>
        </nav>
    </header>

    <div class="container-fluid">
        <div id="wrap" class="row">
            <div class="navigation col-md-4 col-lg-3">
                <div class="search-wrapper">
                    <div class="search">
                        <input id="search" type="text" autocomplete="off" class="form-control input-sm"
                            placeholder="Search Documentation">
                    </div>
                </div>
                <div class="navigation-list-wrapper">
                    <ul class="navigation-list search-empty">
                        <li class="item item-class toggle-manual toggle-manual-show"
                            data-longname="module:ol/geom/Circle~Circle" data-name="ol/geom/circle">
                            <span class="title toggle">
                                <span class="fa fa-chevron-right me-2 mt-1"></span>
                                <span><a href="module-ol_geom_Circle-Circle.html">ol​/geom​/Circle</a></span>
                            </span>
                            <div class="member-list" data-type="methods">
                                <span class="subtitle">Methods</span>
                                <ul>
                                    <li data-name="applytransform"><a
                                            href="module-ol_geom_Circle-Circle.html#applyTransform">applyTransform</a>
                                    <li data-name="changed"><a
                                            href="module-ol_geom_Circle-Circle.html#changed">changed</a>
                                    <li data-name="clone"><a href="module-ol_geom_Circle-Circle.html#clone">clone</a>
                                    <li data-name="dispatchevent"><a
                                            href="module-ol_geom_Circle-Circle.html#dispatchEvent">dispatchEvent</a>
                                    <li data-name="get"><a href="module-ol_geom_Circle-Circle.html#get">get</a>
                                    <li data-name="getcenter"><a
                                            href="module-ol_geom_Circle-Circle.html#getCenter">getCenter</a>
                                    <li data-name="getclosestpoint"><a
                                            href="module-ol_geom_Circle-Circle.html#getClosestPoint">getClosestPoint</a>
                                    <li data-name="getextent"><a
                                            href="module-ol_geom_Circle-Circle.html#getExtent">getExtent</a>
                                    <li data-name="getfirstcoordinate"><a
                                            href="module-ol_geom_Circle-Circle.html#getFirstCoordinate">getFirstCoordinate</a>
                                    <li data-name="getkeys"><a
                                            href="module-ol_geom_Circle-Circle.html#getKeys">getKeys</a>
                                    <li data-name="getlastcoordinate"><a
                                            href="module-ol_geom_Circle-Circle.html#getLastCoordinate">getLastCoordinate</a>
                                    <li data-name="getlayout"><a
                                            href="module-ol_geom_Circle-Circle.html#getLayout">getLayout</a>
                                    <li data-name="getproperties"><a
                                            href="module-ol_geom_Circle-Circle.html#getProperties">getProperties</a>
                                    <li data-name="getradius"><a
                                            href="module-ol_geom_Circle-Circle.html#getRadius">getRadius</a>
                                    <li data-name="getrevision"><a
                                            href="module-ol_geom_Circle-Circle.html#getRevision">getRevision</a>
                                    <li data-name="gettype"><a
                                            href="module-ol_geom_Circle-Circle.html#getType">getType</a>
                                    <li data-name="intersectscoordinate"><a
                                            href="module-ol_geom_Circle-Circle.html#intersectsCoordinate">intersectsCoordinate</a>
                                    <li data-name="intersectsextent"><a
                                            href="module-ol_geom_Circle-Circle.html#intersectsExtent">intersectsExtent</a>
                                    <li data-name="on"><a href="module-ol_geom_Circle-Circle.html#on">on</a>
                                    <li data-name="once"><a href="module-ol_geom_Circle-Circle.html#once">once</a>
                                    <li data-name="rotate"><a href="module-ol_geom_Circle-Circle.html#rotate">rotate</a>
                                    <li data-name="scale"><a href="module-ol_geom_Circle-Circle.html#scale">scale</a>
                                    <li data-name="set"><a href="module-ol_geom_Circle-Circle.html#set">set</a>
                                    <li data-name="setcenter"><a
                                            href="module-ol_geom_Circle-Circle.html#setCenter">setCenter</a>
                                    <li data-name="setcenterandradius"><a
                                            href="module-ol_geom_Circle-Circle.html#setCenterAndRadius">setCenterAndRadius</a>
                                    <li data-name="setproperties"><a
                                            href="module-ol_geom_Circle-Circle.html#setProperties">setProperties</a>
                                    <li data-name="setradius"><a
                                            href="module-ol_geom_Circle-Circle.html#setRadius">setRadius</a>
                                    <li data-name="simplify"><a
                                            href="module-ol_geom_Circle-Circle.html#simplify">simplify</a>
                                    <li data-name="transform"><a
                                            href="module-ol_geom_Circle-Circle.html#transform">transform</a>
                                    <li data-name="translate"><a
                                            href="module-ol_geom_Circle-Circle.html#translate">translate</a>
                                    <li data-name="un"><a href="module-ol_geom_Circle-Circle.html#un">un</a>
                                    <li data-name="unset"><a href="module-ol_geom_Circle-Circle.html#unset">unset</a>
                                </ul>
                            </div>
                            <div class="member-list" data-type="fires">
                                <span class="subtitle">Fires</span>
                                <ul>
                                    <li data-name="change"><a
                                            href="module-ol_events_Event-BaseEvent.html#event:change">change</a>
                                    <li data-name="error"><a
                                            href="module-ol_events_Event-BaseEvent.html#event:error">error</a>
                                    <li data-name="propertychange"><a
                                            href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a>
                                </ul>
                            </div>
                        <li class="loading">Loading …
                    </ul>
                </div>
            </div>

            <div class="main col-md-8 col-lg-9">
                <h1 class="page-title" data-filename="module-ol_geom_Circle-Circle.html">Class: Circle</h1>
                <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
                    <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert"
                        aria-label="Close"></button>
                    This documentation is for OpenLayers v<span id="package-version">8.2.0</span>. The <a
                        id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
                </div>




                <section class="content">

                    <header>
                        <h2 class="my-3">
                            <span class="ancestors"><a
                                    href="module-ol_geom_Circle.html">ol/geom/Circle</a>~</span>Circle
                        </h2>
                        <br>



                        <pre
                            class="prettyprint source"><code>import Circle from '<a href="module-ol_geom_Circle.html">ol/geom/Circle</a>.js';</code></pre>


                        <div class="row p-3 ">
                            <!-- <div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
                                <script async type="text/javascript"
                                    src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg"
                                    id="_carbonads_js"></script>
                            </div> -->

                            <div class="class-description col-lg-7 align-self-center ps-0">
                                <p>圆形。</p>
                            </div>

                        </div>
                    </header>

                    <article>
                        <div class="container-overview">



                            <dl>

                                <dt class="">

                                    <div class="nameContainer">
                                        <div class="anchor" id="Circle">
                                        </div>
                                        <h4 class="name">
                                            new Circle<span class="signature">(center, <span
                                                    class="optional">radius</span>, <span
                                                    class="optional">layout</span>)</span>



                                        </h4>

                                        <div class="tag-source">
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                            <a
                                                href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L15">line
                                                15</a>
                                        </div>

                                    </div>


                                </dt>
                                <dd class="">













                                    <table class="params">
                                        <thead>
                                            <tr>

                                                <th>Name</th>


                                                <th>Type</th>

                                                <th class="last">Description</th>
                                            </tr>
                                        </thead>

                                        <tbody>


                                            <tr class="">

                                                <td class="name"><code>center</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                                </td>



                                                <td class="description last">

                                                    <p>中心。内部使用时，也接受平面坐标与<code>layout</code>的组合，不接受
                                                        <code>radius</code> 。
                                                    </p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>radius</code></td>



                                                <td class="type">


                                                    <span class="param-type">number</span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>以投影单位表示的半径。</p>
                                                </td>
                                            </tr>



                                            <tr class="">

                                                <td class="name"><code>layout</code></td>



                                                <td class="type">


                                                    <span class="param-type"><a
                                                            href="module-ol_geom_Geometry.html#~GeometryLayout">GeometryLayout</a></span>

                                                    | undefined


                                                </td>



                                                <td class="description last">

                                                    <p>Layout.</p>
                                                </td>
                                            </tr>


                                        </tbody>
                                    </table>




                                    <dl class="details">





















                                    </dl>



                                    <h5>Fires:</h5>
                                    <ul>
                                        <li class="">
                                            <code><a href="module-ol_events_Event-BaseEvent.html#event:change">change</a></code>
                                            (<a href="module-ol_events_Event-BaseEvent.html">BaseEvent</a>)
                                            -通用更改事件。在修订计数器增加时触发。
                                        </li>

                                        <li class="">
                                            <code><a href="module-ol_events_Event-BaseEvent.html#event:error">error</a></code>
                                            (<a
                                                href="module-ol_events_Event-BaseEvent.html">BaseEvent</a>)-通用错误事件。在发生错误时触发。
                                        </li>

                                        <li class="">
                                            <code><a href="module-ol_Object.ObjectEvent.html#event:propertychange">propertychange</a></code>
                                            (<a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a>) - 当属性发生更改时触发。
                                        </li>
                                    </ul>











                                </dd>

                            </dl>

                        </div>




                        <h3 class="subsection-title">Extends</h3>

                        <ul>
                            <li><a href="module-ol_geom_SimpleGeometry-SimpleGeometry.html">SimpleGeometry</a></li>
                        </ul>















                        <h3 class="subsection-title">Methods</h3>

                        <dl>


                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="applyTransform">
                                    </div>
                                    <h4 class="name">
                                        applyTransform<span class="signature">(transformFn)</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#applyTransform">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L205">line
                                            205</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <div class="description">
                                        <p>将变换函数应用于几何图形的坐标。几何图形将被就地修改。如果你不希望在原地修改几何形状，首先使用<code>clone()</code>函数复制它，然后在这个复制品上使用这个函数。
                                        </p>
                                    </div>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>transformFn</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_proj.html#~TransformFunction">TransformFunction</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>变换函数。用一个扁平的几何坐标数组调用。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="changed">
                                    </div>
                                    <h4 class="name">
                                        changed<span class="signature">()</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#changed">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L68">line
                                            68</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">
                                <div class="description">
                                    <p>增加修订计数器并派发一个 'change' 事件。</p>
                                </div>











                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="clone">
                                    </div>
                                    <h4 class="name">
                                        clone<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Circle-Circle.html">Circle</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L38">line
                                            38</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>复制几何图形，生成完整复制品。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Clone.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="dispatchEvent">
                                    </div>
                                    <h4 class="name">
                                        dispatchEvent<span class="signature">(event)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean | undefined}</span>

                                        <span class="inherited"><a
                                                href="module-ol_events_Target-Target.html#dispatchEvent">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/events/Target.js">events/Target.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/events/Target.js#L85">line
                                            85</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">
                                <div class="description">
                                    <p>派发一个事件并调用所有监听此类型事件的监听器。事件参数可以是字符串或具有 <code>type</code>属性的对象。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>event</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_events_Event-BaseEvent.html">BaseEvent</a></span>
                                                |

                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">

                                                <p>Event object.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                如果任何人在事件对象上调用 preventDefault，或者如果任何监听器返回 false，则为<code>false</code>。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="get">
                                    </div>
                                    <h4 class="name">
                                        get<span class="signature">(key)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{*}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#get">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L135">line
                                            135</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取一个值。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Value.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getCenter">
                                    </div>
                                    <h4 class="name">
                                        getCenter<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_coordinate.html#~Coordinate">Coordinate</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L96">line
                                            96</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回圆形中心的<a
                                            href="module-ol_coordinate.html#~Coordinate"><code>coordinate</code></a>.
                                    </p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Center.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getClosestPoint">
                                    </div>
                                    <h4 class="name">
                                        getClosestPoint<span class="signature">(point, <span
                                                class="optional">closestPoint</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_coordinate.html#~Coordinate">Coordinate</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_Geometry-Geometry.html#getClosestPoint">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js">geom/Geometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js#L152">line
                                            152</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回几何形状上离传入点最近的点的<a
                                            href="module-ol_coordinate.html#~Coordinate"><code>coordinate</code></a>。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>point</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Point.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>closestPoint</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>最近的点。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Closest point.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getExtent">
                                    </div>
                                    <h4 class="name">
                                        getExtent<span class="signature">(<span
                                                class="optional">extent</span>)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_extent.html#~Extent">Extent</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_Geometry-Geometry.html#getExtent">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js">geom/Geometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js#L185">line
                                            185</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取几何图形的范围。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>extent</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_extent.html#~Extent">Extent</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>Extent.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                extent Extent.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getFirstCoordinate">
                                    </div>
                                    <h4 class="name">
                                        getFirstCoordinate<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_coordinate.html#~Coordinate">Coordinate</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#getFirstCoordinate">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L68">line
                                            68</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回几何图形的第一个坐标。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                First coordinate.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getKeys">
                                    </div>
                                    <h4 class="name">
                                        getKeys<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Array.&lt;string>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#getKeys">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L148">line
                                            148</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">



                                <div class="description">
                                    <p>获取对象属性名称的列表。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                属性名称列表。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getLastCoordinate">
                                    </div>
                                    <h4 class="name">
                                        getLastCoordinate<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_coordinate.html#~Coordinate">Coordinate</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#getLastCoordinate">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L84">line
                                            84</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回几何图形的最后一个坐标。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Last point.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getLayout">
                                    </div>
                                    <h4 class="name">
                                        getLayout<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Geometry.html#~GeometryLayout">GeometryLayout</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#getLayout">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L95">line
                                            95</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回几何图形的<a
                                            href="module-ol_geom_Geometry.html#~GeometryLayout"><code>layout</code></a>。
                                    </p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Layout.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getProperties">
                                    </div>
                                    <h4 class="name">
                                        getProperties<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{Object.&lt;string, *>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#getProperties">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L157">line
                                            157</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取包含所有属性名称和值的对象。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Object.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getRadius">
                                    </div>
                                    <h4 class="name">
                                        getRadius<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L122">line
                                            122</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>返回圆形的半径。/p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Radius.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="getRevision">
                                    </div>
                                    <h4 class="name">
                                        getRevision<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{number}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#getRevision">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L79">line
                                            79</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取此对象的版本号。每次对象被修改时，其版本号将递增。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Revision.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="getType">
                                    </div>
                                    <h4 class="name">
                                        getType<span class="signature">()</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Geometry.html#~Type">Type</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L141">line
                                            141</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>获取此几何体的类型。</p>
                                </div>











                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Geometry type.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="intersectsCoordinate">
                                    </div>
                                    <h4 class="name">
                                        intersectsCoordinate<span class="signature">(coordinate)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_Geometry-Geometry.html#intersectsCoordinate">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js">geom/Geometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js#L165">line
                                            165</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>如果此几何图形包含指定坐标，则返回true,如果坐标在几何图形的边界上，则返回false。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>coordinate</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Coordinate.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                Contains coordinate.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="intersectsExtent">
                                    </div>
                                    <h4 class="name">
                                        intersectsExtent<span class="signature">(extent)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{boolean}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L151">line
                                            151</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>检查几何图形和传递的范围是否相交。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>extent</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_extent.html#~Extent">Extent</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Extent.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                <code>true</code> if the geometry and the extent intersect.
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="on">
                                    </div>
                                    <h4 class="name">
                                        on<span class="signature">(type, listener)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a> | Array&lt;<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#on">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L152">line
                                            152</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>监听特定类型的事件。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                监听器的唯一键。如果将事件类型的数组作为第一个参数调用，返回将是键的数组。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="once">
                                    </div>
                                    <h4 class="name">
                                        once<span class="signature">(type, listener)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a> | Array&lt;<a
                                                href="module-ol_events.html#~EventsKey">EventsKey</a>>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#once">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L164">line
                                            164</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>仅监听特定类型的事件一次。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                监听器的唯一键。如果将事件类型的数组作为第一个参数调用，返回将是键的数组。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="rotate">
                                    </div>
                                    <h4 class="name">
                                        rotate<span class="signature">(angle, anchor)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L232">line
                                            232</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>围绕给定的坐标旋转几何图形。这将修改几何图形坐标。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>angle</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>逆时针旋转的弧度角。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>旋转中心。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="scale">
                                    </div>
                                    <h4 class="name">
                                        scale<span class="signature">(sx, <span class="optional">sy</span>, <span
                                                class="optional">anchor</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#scale">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L245">line
                                            245</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>缩放几何形状（可选择原点）。这将修改几何形状的坐标。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>sx</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>X轴上缩放的数量</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>sy</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>Y轴上缩放的数量，默认等同X轴</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>anchor</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>缩放原点（默认为几何图形范围的中心）。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="set">
                                    </div>
                                    <h4 class="name">
                                        set<span class="signature">(key, value, <span
                                                class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#set">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L215">line
                                            215</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置值。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>value</code></td>



                                            <td class="type">


                                                <span class="param-type">*</span>




                                            </td>



                                            <td class="description last">

                                                <p>Value.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>是否在不触发事件的情况下进行更新。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setCenter">
                                    </div>
                                    <h4 class="name">
                                        setCenter<span class="signature">(center)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L173">line
                                            173</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>Set the center of the circle as <a
                                            href="module-ol_coordinate.html#~Coordinate"><code>coordinate</code></a>.
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>center</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Center.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setCenterAndRadius">
                                    </div>
                                    <h4 class="name">
                                        setCenterAndRadius<span class="signature">(center, radius, <span
                                                class="optional">layout</span>)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L193">line
                                            193</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置圆形的中心( <a
                                            href="module-ol_coordinate.html#~Coordinate"><code>coordinate</code></a>)
                                        and 半径 (
                                        number) 。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>center</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_coordinate.html#~Coordinate">Coordinate</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>Center.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>radius</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Radius.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>layout</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_geom_Geometry.html#~GeometryLayout">GeometryLayout</a></span>

                                                | undefined


                                            </td>



                                            <td class="description last">

                                                <p>Layout.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="setProperties">
                                    </div>
                                    <h4 class="name">
                                        setProperties<span class="signature">(values, <span
                                                class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#setProperties">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L235">line
                                            235</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置一个键值对的集合。请注意，这将更改任何现有属性并添加新属性（不会删除任何现有属性）。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>values</code></td>



                                            <td class="type">


                                                <span class="param-type">Object.&lt;string, *></span>




                                            </td>



                                            <td class="description last">

                                                <p>Values.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>是否在不触发事件的情况下进行更新。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="setRadius">
                                    </div>
                                    <h4 class="name">
                                        setRadius<span class="signature">(radius)</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L220">line
                                            220</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>设置圆的半径。半径以投影为单位。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>radius</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Radius.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="simplify">
                                    </div>
                                    <h4 class="name">
                                        simplify<span class="signature">(tolerance)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Geometry-Geometry.html">Geometry</a>}</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_Geometry-Geometry.html#simplify">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js">geom/Geometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Geometry.js#L231">line
                                            231</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>创建此几何形状的简化版本。对于线串（linestrings），这使用<a
                                            href="https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm">Douglas
                                            Peucker</a>算法。对于多边形，使用基于量化的简化来保持拓扑结构。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>tolerance</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>简化的容差距离。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                原始几何图形的新简化版本。
                                <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer">
                                    <div class="anchor" id="transform">
                                    </div>
                                    <h4 class="name">
                                        transform<span class="signature">(source, destination)</span><span
                                            class="fa fa-arrow-circle-right"></span><span
                                            class="type-signature returnType">{<a
                                                href="module-ol_geom_Circle-Circle.html">Circle</a>}</span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js">geom/Circle.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/Circle.js#L264">line
                                            264</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>将圆的每个坐标从一个坐标参考系统转换到另一个坐标参考系统。几何形状会在原地被修改。如果你不希望几何形状在原地被修改，首先使用clone()函数复制它，然后在这个复制件上使用这个函数。
                                    </p>
                                    <p>在内部，圆目前由两个点表示：圆的中心<code>[cx, cy]</code>，以及圆右侧的点
                                        <code>[cx + r, cy]</code>。这个<code>转换(transform)</code>函数只是转换这两个点。
                                        因此，生成的几何形状也是一个圆，但这个圆并不对应于通过将原始圆的每个点都进行转换所得到的形状。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>source</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>当前的投影。可以是一个字符串标识符或一个<a
                                                        href="module-ol_proj_Projection-Projection.html"><code>Projection</code></a>对象。
                                                </p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>destination</code></td>



                                            <td class="type">


                                                <span class="param-type"><a
                                                        href="module-ol_proj.html#~ProjectionLike">ProjectionLike</a></span>




                                            </td>



                                            <td class="description last">

                                                <p>期望的投影。可以是一个字符串标识符或一个<a
                                                        href="module-ol_proj_Projection-Projection.html"><code>Projection</code></a>对象。
                                                </p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>















                                <h5>Returns:</h5>
                                这个几何形状。请注意，原始几何形状会在原地被修改。 <br />




                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="translate">
                                    </div>
                                    <h4 class="name">
                                        translate<span class="signature">(deltaX, deltaY)</span>

                                        <span class="inherited"><a
                                                href="module-ol_geom_SimpleGeometry-SimpleGeometry.html#translate">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js">geom/SimpleGeometry.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/geom/SimpleGeometry.js#L276">line
                                            276</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>平移几何形状。这会修改几何形状的坐标。如果你想要一个新的几何形状而不是修改原始几何形状，首先使用<code>clone()</code>函数复制这个几何形状。
                                    </p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>deltaX</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Delta X.</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>deltaY</code></td>



                                            <td class="type">


                                                <span class="param-type">number</span>




                                            </td>



                                            <td class="description last">

                                                <p>Delta Y.</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="un">
                                    </div>
                                    <h4 class="name">
                                        un<span class="signature">(type, listener)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Observable-Observable.html#un">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js">Observable.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Observable.js#L173">line
                                            173</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>取消监听特定类型的事件。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>type</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>
                                                |

                                                <span class="param-type">Array.&lt;string></span>




                                            </td>



                                            <td class="description last">
                                                <p>事件类型或事件类型的数组。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>listener</code></td>



                                            <td class="type">


                                                <span class="param-type">function</span>




                                            </td>



                                            <td class="description last">
                                                <p>侦听器函数。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>




                            <dt class="">

                                <div class="nameContainer inherited">
                                    <div class="anchor" id="unset">
                                    </div>
                                    <h4 class="name">
                                        unset<span class="signature">(key, <span class="optional">silent</span>)</span>

                                        <span class="inherited"><a
                                                href="module-ol_Object-BaseObject.html#unset">inherited</a></span>



                                    </h4>

                                    <div class="tag-source">
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js">Object.js</a>,
                                        <a
                                            href="https://github.com/openlayers/openlayers/blob/v8.2.0/src/ol/Object.js#L259">line
                                            259</a>
                                    </div>

                                </div>


                            </dt>
                            <dd class="">




                                <div class="description">
                                    <p>取消设置属性。</p>
                                </div>










                                <table class="params">
                                    <thead>
                                        <tr>

                                            <th>Name</th>


                                            <th>Type</th>

                                            <th class="last">Description</th>
                                        </tr>
                                    </thead>

                                    <tbody>


                                        <tr class="">

                                            <td class="name"><code>key</code></td>



                                            <td class="type">


                                                <span class="param-type">string</span>




                                            </td>



                                            <td class="description last">
                                                <p>键名称。</p>
                                            </td>
                                        </tr>



                                        <tr class="">

                                            <td class="name"><code>silent</code></td>



                                            <td class="type">


                                                <span class="param-type">boolean</span>

                                                | undefined


                                            </td>



                                            <td class="description last">
                                                <p>在不触发事件的情况下取消设置属性。</p>
                                            </td>
                                        </tr>


                                    </tbody>
                                </table>




                                <dl class="details">





















                                </dl>













                            </dd>

                        </dl>





                    </article>

                </section>




            </div>
        </div>
    </div>
    <script>prettyPrint();</script>
    <script src="scripts/linenumber.js"></script>
    <script src="scripts/main.js"></script>
</body>

</html>